package com.xiaoshuidi.cloud.module.iot.controller.app.face.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @Author Feng
 * @date 2023/6/25
 */
@Data
public class AppFaceDatabaseEditReq {
    @Schema(description = "id")
    @NotNull(message = "id不可为空")
    private Long id;

    /**
     * 人员姓名
     */
    @Schema(description = "人员姓名")
    @NotNull(message = "授权人姓名不可为空")
    private String memberName;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String idNumber;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String phone;

    /**
     * 人脸照片URL
     */
    @Schema(description = "人脸照片URL")
    @NotNull(message = "人脸图像不可为空")
    private String photoUrl;

    /**
     * 身份证照片URL，类型为同住人时需要
     */
    @Schema(description = "身份证照片URL")
    private String cardPicUrl;
}
